import Route from 'react-router/lib/Route'
import {IndexRedirect} from 'react-router';

import Home from './components/Home'
import TabDemo from './components/TabDemo'
import './style/index'
const Routers = (
  <Route name="demo" breadcrumbName="示例" path="demo" component={Home}>
    <IndexRedirect to="tab"/>
    <Route name="tab" breadcrumbName="页签" path="tab" component={TabDemo}/>
  </Route>
)

import stores from './stores/index'

module.exports = {
  Route:Routers,
  store:stores,
}
